This check looks for parameters in functions that are not used in the function
body and are not followed by other parameters which are used inside the function.
Loading history...
25
26
var depends = document.querySelectorAll( '.rwmb-input [data-depends]' );
27
28
[].forEach.call( depends, function( el ) {
29
var dependency = pollux.metabox.setVisibility( el );
30
var event = dependency.type === 'checkbox' ? 'change' : 'keyup';
This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.